<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8" />
  <title>资产管理系统入口</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta
          name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1"
  />
  <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
  <link rel="stylesheet" href="sdk/sdk.css" />
  <link rel="stylesheet" href="sdk/helper.css" />
  <link rel="stylesheet" href="sdk/iconfont.css" />
  <!-- 这是默认主题所需的，如果是其他主题则不需要 -->
  <!-- 从 1.1.0 开始 sdk.css 将不支持 IE 11，如果要支持 IE11 请引用这个 css，并把前面那个删了 -->
  <!-- <link rel="stylesheet" href="sdk-ie11.css" /> -->
  <!-- 不过 amis 开发团队几乎没测试过 IE 11 下的效果，所以可能有细节功能用不了，如果发现请报 issue -->
  <style>
    html,
    body,
    .app-wrapper {
      position: relative;
      width: 100%;
      height: 100%;
      margin: 0;
      padding: 0;
    }
  </style>
</head>
<body>
<div id="root" class="app-wrapper"></div>
<script src="sdk/sdk.js"></script>
<script type="text/javascript">
  (function () {
    let amis = amisRequire('amis/embed');
    // 通过替换下面这个配置来生成不同页面
    let amisJSON = {
      type: 'page',
      title: '入口页面',
      body:[
        {
          "type": "grid",
          "columns": [
            {
              //跳转到资产管理员界面
              "body": [
                {
                  "type": "card",
                  "href": "/pages/assetManager/assetManager.html",
                  "header": {
                    "title": "资产管理",
                    "subTitle": "点击跳转到资产管理员界面",
                    "description": "资产的导入，资产出入库，资产维修和报废以及资产盘点等",
                    "avatarText": "AM",
                    "avatarTextBackground": [
                      "#3f5d89",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/repoManager/repoManager.html",
                  "header": {
                    "title": "仓库管理",
                    "subTitle": "点击跳转到仓库管理员界面",
                    "description": "资产的入库，资产出库的审批，资产报废和盘点等",
                    "avatarText": "RM",
                    "avatarTextBackground": [
                      "#FFB900",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/assetApplicant/assetApplication.html",
                  "header": {
                    "title": "业务申请",
                    "subTitle": "点击跳转到资产业务申请界面",
                    "description": "借用申请，调用申请，报废申请，维修申请",
                    "avatarText": "AA",
                    "avatarTextBackground": [
                      "#ff0099",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/operations/operations.html",
                  "header": {
                    "title": "资产运维",
                    "subTitle": "点击跳转到运维界面",
                    "description": "在此处发起一个资产维修申请",
                    "avatarText": "RPAR",
                    "avatarTextBackground": [
                      "#00ff04",
                    ]
                  }
                }
              ]
            }
          ]
        },
        {
          "type": "grid",
          "columns": [
            {
              //跳转到部门审批经理界面
              "body": [
                {
                  "type": "card",
                  "href": "/pages/approval/approval.html",
                  "header": {
                    "title": "部门经理",
                    "subTitle": "点击跳转到部门经理界面",
                    "description": "",
                    "avatarText": "AM",
                    "avatarTextBackground": [
                      "#3f5d89",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/information/information.html",
                  "header": {
                    "title": "信息管理部经理",
                    "subTitle": "点击跳转到信息管理界面",
                    "description": "",
                    "avatarText": "RM",
                    "avatarTextBackground": [
                      "#FFB900",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/chargeLeader/chargeLeader.html",
                  "header": {
                    "title": "分管领导",
                    "subTitle": "点击跳转到分管领导界面",
                    "description": "",
                    "avatarText": "AA",
                    "avatarTextBackground": [
                      "#ff0099",
                    ]
                  }
                }
              ]
            },
            {
              "body": [
                {
                  "type": "card",
                  "href": "/pages/financial/financial.html",
                  "header": {
                    "title": "财务管理",
                    "subTitle": "点击跳转到财务管理界面",
                    "description": "",
                    "avatarText": "RPAR",
                    "avatarTextBackground": [
                      "#00ff04",
                    ]
                  }
                }
              ]
            }
          ]
        }
      ]
    };
    let amisScoped = amis.embed('#root', amisJSON);
  })();
</script>
</body>
</html>